<?php
/**
 *
 * IndexAction.class.php (前台首页)
 *
 */
if(!defined("Ainaphp")) exit("Access Denied");
class ProductAction extends BaseAction
{
    public function show1()
    {
        $this->display();
    }

	public function show2()
	{
		$this->display();
	}

    public function show3()
    {
        $catid = $_GET['id'];
        $procount = M('Product')->where(array('id'=>$catid,'catid'=>9))->find();
        if($procount){

        }else{
            $this->redirect("/Product/show3/id/1");
        }
        $this->assign('catid',$catid);
        $this->display();
    }

}
?>
